package org.wk.account.domain;

import org.hibernate.annotations.GenericGenerator;
import org.wk.core.db.domain.BaseEntity;

import javax.persistence.*;
import java.math.BigDecimal;

/**
 * @author TangShenShen
 * @Description: 参数配置数据层实体
 * @date 2018/6/514:06
 */
@Entity(name="org.wk.account.domain.ConfigEntity")
@Table(name="s_sys_config")
public class ConfigEntity extends BaseEntity {
    /**
     * @Fields serialVersionUID: long
     * @Desc TODO:
     */
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "id", unique = true, nullable = false, length = 32)
    @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name="system-uuid",strategy = "uuid")
    private String id;
    @Column
    private String configName;
    @Column
    private String configCode;
    @Column
    private String configValue;

    public void setId(String id) {
        this.id = id;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public void setConfigCode(String configCode) {
        this.configCode = configCode;
    }

    public String getId() {

        return id;
    }

    public String getConfigName() {
        return configName;
    }

    public String getConfigCode() {
        return configCode;
    }

    public void setConfigValue(String configValue) {
        this.configValue = configValue;
    }

    public String getConfigValue() {
        return configValue;
    }
}
